CommandDeselectAll Class Reference

#include <CommandDeselectAll.h>

Inheritance diagram for CommandDeselectAll:

Command List of all members.

Public Member Functions

 CommandDeselectAll (OSGWindows *osgwind)
bool execute ()
bool unexecute ()
void changeState ()
void changeStateReverse ()

Private Attributes

OSGWindows * osgwind_
osg::StateSet * stateset

Constructor & Destructor Documentation

CommandDeselectAll::CommandDeselectAll (  OSGWindows *  osgwind  ) 
 

A constructor. Initializes osgwind_ variable.

Parameters:
osgwind an OSGWindows pointer.


Member Function Documentation

void CommandDeselectAll::changeState (   ) 
 

highlight the objects in the deselectedObjs_ vector.

void CommandDeselectAll::changeStateReverse (   ) 
 

un_highlight the objects in the deselectedObjs_ vector.

bool CommandDeselectAll::execute (   )  [virtual]
 

do the deselectAll operation.

Returns:
Operation success

Implements Command.

bool CommandDeselectAll::unexecute (   )  [virtual]
 

undo the deselectAll operation.

Returns:
Operation success

Implements Command.


Member Data Documentation

OSGWindows* CommandDeselectAll::osgwind_ [private]
 

a private variable. It is initialized with the unique OSGWindows instance.

osg::StateSet* CommandDeselectAll::stateset [private]
 

a private osg::StateSet pointer. It holds state of the selected/deselected objects.


The documentation for this class was generated from the following file:
Generated on Sun May 28 18:44:00 2006 by  doxygen 1.4.6-NO